package com.xebest.web.mapper.write;

import com.xebest.web.model.XeVenStoreStockEntity;

import java.util.List;

public interface XeVenStoreStockWriteMapper {

    /**
     * 批量添加备货记录
     *
     * @author 杜春静
     */
    int batchInsertStoreStock(List<XeVenStoreStockEntity> record) throws Exception;

    /**
     * 添加备货记录
     *
     * @author 杜春静
     */
    int insertStoreStock(XeVenStoreStockEntity record) throws Exception;

    /**
     * 根据userCode,orderId,proSKU,storeId,receiptBacthNo查询备货信息 列表型的  根据创建日期排序
     *
     * @author 杜春静
     */
    List<XeVenStoreStockEntity> listStoreStock(XeVenStoreStockEntity enity);

    /**
     * 根据userCode,orderId,proSKU,storeId,receiptBacthNo查询备货信息
     *
     * @author 杜春静
     */
    XeVenStoreStockEntity getStoreStock(XeVenStoreStockEntity enity);

}